#include "ContainerElement.h"

#include "../SimpleDockApplication.h"

#include "../components/LayoutManager.h"

ContainerElement::ContainerElement(const String& title_, const String& imageUrl) :
DockElement(container)
{
	title = title_;
	imageURL = imageUrl;
}

ContainerElement::~ContainerElement()
{
	
}

void ContainerElement::leftMouseButtonClick()
{
	dynamic_cast<SimpleDockApplication*> (JUCEApplication::getInstance())->getMainComponent()->containerVisibilityChanged(this);
}

void ContainerElement::rightMouseButtonDown()
{
}

void ContainerElement::needsDefaultImage()
{
	DockElement::needsDefaultImage();
}
